<script setup lang="ts">
import {useRouter} from "vue-router";
const router=useRouter()
const fn1=()=>{
    router.push('/page1')
}
</script>

<template>
<div @click="fn1">micro1</div>
</template>

<style scoped>

</style>
